<!DOCTYPE html>
<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html" charset="UTF-8">
    <title>天津大学绿色校园平台</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">


    <!-- Le styles -->
    <link href="http://localhost:8080/NETCTOSS/css/bootstrap.css" rel="stylesheet">
    <link href="http://localhost:8080/NETCTOSS/css/MessageBox.css" rel="stylesheet">
    <style type="text/css">
      body {
        padding-top: 60px;
        padding-bottom: 40px;
      }
    </style>
    <link href="http://localhost:8080/NETCTOSS2/css/bootstrap-responsive.css" rel="stylesheet">

    <!-- HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
      <script src="../bootstrap/assets/js/html5shiv.js"></script>
    <![endif]-->

    <!-- Fav and touch icons -->
    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="http://bootstrap.kinghack.com/assets/ico/apple-touch-icon-144-precomposed.png">
    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="http://bootstrap.kinghack.com/assets/ico/apple-touch-icon-114-precomposed.png">
      <link rel="apple-touch-icon-precomposed" sizes="72x72" href="http://bootstrap.kinghack.com/assets/ico/apple-touch-icon-72-precomposed.png">
                    <link rel="apple-touch-icon-precomposed" href="http://bootstrap.kinghack.com/assets/ico/apple-touch-icon-57-precomposed.png">
                                  
  </head>

  <body>

    <div class="navbar navbar-inverse navbar-fixed-top">
      <div class="navbar-inner">
        <div class="container">
          <button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
          </button>
          <a class="brand" href="http://localhost:8080/NETCTOSS">绿色校园平台</a>
          <div class="nav-collapse collapse">
            <ul class="nav">
              <li class="active"><a href="#">首页</a></li>
              <li><a href="">关于</a></li>
              <li><a href="#">联系我们</a></li>
              <li class="dropdown">
                <a href="#" class="dropdown-toggle" data-toggle="dropdown">其它信息 <b class="caret"></b></a>
                <ul class="dropdown-menu">
                  <li><a href="#">Action</a></li>
                  <li><a href="#">Another action</a></li>
                  <li><a href="#">Something else here</a></li>
                  <li class="divider"></li>
                  <li class="nav-header">Nav header</li>
                  <li><a href="#">Separated link</a></li>
                  <li><a href="#">One more separated link</a></li>
                </ul>
              </li>
            </ul>
            <s:if test="msg==2">
            	<h5 class=" nav navbar-text navbar-right" style="text-align : right;padding-left:500px">欢迎您：<s:property value = "info"/></h5>
            </s:if>
            	<h5 class=" nav navbar-text navbar-right" style = "padding-left:100px"><s:property value = "okRegist"/></h5>
            <s:else>
            <form id = "form1" class="navbar-form pull-right" action = "http://localhost:8080/NETCTOSS/login/login" method = "post">
              <input class="span2" type="text" placeholder="用户名" name= "userName">
              <input class="span2" type="password" placeholder="密码" name = "passWord">
              <button type="submit" class="btn">登录</button>
              <button class="btn" onclick="changeSubaction();">注册</button>
            </form>
            </s:else>

          </div><!--/.nav-collapse -->
        </div>
      </div>
                 <!--消息提示框-->
	 
     <s:if test = "errorMsg == 1 ">
     	    <div id = ""class="bubble-box arrow-top" style="display : block ; position : absolute ; left: 800px" > 
      			<div class="wrap"><s:property value="errorInfo" /></div> 
    		</div>
     </s:if>

    </div>

    <div class="container">

      <!-- Main hero unit for a primary marketing message or call to action -->
      <div class="hero-unit">
        <h1>绿色校园</h1>
        <p>testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttesttest
        testtesttesttesttesttesttesttesttesttesttesttesttesttesttesttest</p>
        <p><a href="#" class="btn btn-primary btn-large"> 了解更多»</a></p>
      </div>

      <!-- Example row of columns -->
      <div class="row">
        <div class="span4">
          <h2>Heading</h2>
          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
          <p><a class="btn" href="http://bootstrap.kinghack.com/examples/hero.html#">View details »</a></p>
        </div>
        <div class="span4">
          <h2>Heading</h2>
          <p>Donec id elit non mi porta gravida at eget metus. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus. Etiam porta sem malesuada magna mollis euismod. Donec sed odio dui. </p>
          <p><a class="btn" href="http://bootstrap.kinghack.com/examples/hero.html#">View details »</a></p>
       </div>
        <div class="span4">
          <h2>Heading</h2>
          <p>Donec sed odio dui. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Vestibulum id ligula porta felis euismod semper. Fusce dapibus, tellus ac cursus commodo, tortor mauris condimentum nibh, ut fermentum massa justo sit amet risus.</p>
          <p><a class="btn" href="http://bootstrap.kinghack.com/examples/hero.html#">View details »</a></p>
        </div>
      </div>

      <hr>

      <footer>
        <p>© Company 2013</p>
      </footer>

    </div> <!-- /container -->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="http://localhost:8080/NETCTOSS/js/jquery.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-transition.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-alert.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-modal.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-dropdown.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-scrollspy.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-tab.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-tooltip.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-popover.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-button.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-collapse.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-carousel.js"></script>
    <script src="http://localhost:8080/NETCTOSS/js/bootstrap-typeahead.js"></script>
	<script src="http://localhost:8080/NETCTOSS/js/chooseSubmit.js"></script>
  

</body></html>